import request from '@/utils/request'

// 获取
export function getConfig() {
  return request({
    url: '/api/config',
    method: 'get'
  })
}

// 编辑
export function putConfig(data) {
  return request({
    url: '/api/config',
    method: 'put',
    data
  })
}
